package com.nuc.bigdata;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 提供给前端的服务模块
 * @author JackLuo
 * @date 2019/10/8
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@RefreshScope
@MapperScan("com.nuc.bigdata.infra.mapper")
public class OaFrontApplication {
    public static void main(String[] args) {
        SpringApplication.run(OaFrontApplication.class,args);
    }
}
